//获取token值并放到请求头里面
const token = window.localStorage.getItem('token');
// console.log(token);
axios.defaults.headers.common['Authorization'] = token;
